﻿<%@ Page Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" Inherits="MediaMonitor.Admin.RF_Upload_Planning"
    Theme="default" Title="RF Upload - PLANNING" CodeBehind="rf-upload-planning.aspx.cs" %>
 

<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" Runat="Server">
    <br /><br /><br />
<script type="text/javascript">
    function ShowHideDiv(div, show) {
        if (show) {
            div.style.display = 'block';
            document.getElementById('dvUpload').style.display = 'none';
        }
        else {
            div.style.display = 'none';
            document.getElementById('dvUpload').style.display = 'block';
        }
    
    }
</script>


     <%--<asp:UpdatePanel ID="pnlUpdate" runat="server">
        <ContentTemplate>--%>  
    <center>
        <h3>
            Country: <b style="color: Black;">
                <%=AppUser.GetCountryName().ToUpper()%></b></h3>
        <br />
    </center>
        
     <asp:Panel ID="pnlUpload" runat="server">
     <div style="text-align:center">
     <center>
     <div id="dvUpload" class="Box" style="width:400px; padding-bottom:15px;" align="center">
      <h2>Upload RF CSV File: 
      </h2>
         File 1:
         <asp:FileUpload ID="flRF1" runat="server" /><br /><br />
         File 2:
         <asp:FileUpload ID="flRF2" runat="server" /><br />
         <br />
         File 3:
         <asp:FileUpload ID="flRF3" runat="server" /><br />
         <br />
         File 4:
         <asp:FileUpload ID="flRF4" runat="server" /><br />
         <br />
         File 5:
         <asp:FileUpload ID="flRF5" runat="server" /><br />
         <br />
         File 6:
         <asp:FileUpload ID="flRF6" runat="server" /><br />
         <br />
         File 7:
         <asp:FileUpload ID="flRF7" runat="server" />    
        
         <br /><br /><br />
         <div style="border:solid 2px #787878; padding:5px; padding-bottom:8px; padding-left:4px; padding-right:3px; background-color:#dedede; text-align:center;"> 
           <asp:ImageButton ID="btnUpload" runat="server" SkinID="Upload" OnClientClick="javascript:ShowHideDiv(document.getElementById('dvUploading'), true)"
               OnClick="btnUpload_Click" /> 
            </div>
     </div>
     </center>
     </div>
     
     <center>
     <div id="dvUploading" class="GrayBox" style="display:none; text-align:center; width:300px;" align="center">
        <h3>Uploading Data...</h3>
         <img src="../App_Themes/default/ajax/loadingAnimation.gif" />
         <br /><br />
     </div>
     </center>
     
     </asp:Panel>
       
    
     <asp:Panel ID="pnlInfo1" runat="server" Visible="false">
        <center>
        <div class="Box" style="width:400px; text-align:center;">
         File 1: <u>Status</u>
         <asp:Label ID="lblInfo1" runat="server" Font-Bold="true">
            
         </asp:Label>
         <br /><br />
        </div>
        </center>
     </asp:Panel>

     <br />
    <asp:Panel ID="pnlInfo2" runat="server" Visible="false">
        <center>
           
            <div class="Box" style="width: 400px; text-align: center;">
                 File 2: <u>Status</u>
                 <asp:Label ID="lblInfo2" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlInfo3" runat="server" Visible="false">
        <center>
            <div class="Box" style="width: 400px; text-align: center;">
                File 3: <u>Status</u>
                <asp:Label ID="lblInfo3" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlInfo4" runat="server" Visible="false">
        <center>
            <div class="Box" style="width: 400px; text-align: center;">
                File 4: <u>Status</u>
                <asp:Label ID="lblInfo4" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlInfo5" runat="server" Visible="false">
        <center>
            <div class="Box" style="width: 400px; text-align: center;">
                File 5: <u>Status</u>
                <asp:Label ID="lblInfo5" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlInfo6" runat="server" Visible="false">
        <center>
            <div class="Box" style="width: 400px; text-align: center;">
                File 6: <u>Status</u>
                <asp:Label ID="lblInfo6" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <br />
    <asp:Panel ID="pnlInfo7" runat="server" Visible="false">
        <center>
            <div class="Box" style="width: 400px; text-align: center;">
                File 7: <u>Status</u>
                <asp:Label ID="lblInfo7" runat="server" Font-Bold="true">
            
                </asp:Label>
                <br />
                <br />
            </div>
        </center>
    </asp:Panel>
    <%-- </ContentTemplate>
     </asp:UpdatePanel>--%>
 
<asp:GridView id="gv" runat="server"  AutoGenerateColumn="true" 
  ></asp:GridView>

</asp:Content>

